package com.gobo.jinghuimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gobo.common.utils.PageUtils;
import com.gobo.jinghuimall.product.entity.SkuInfoEntity;
import com.gobo.jinghuimall.product.vo.SkuItemVo;

import java.util.List;
import java.util.Map;

/**
 * sku信息
 *
 * @author guanbo
 * @email gobostart@163.com
 * @date 2021-10-17 19:19:47
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSkuInfo(SkuInfoEntity skuInfoEntity);

    PageUtils queryPageCondition(Map<String, Object> params);

    List<SkuInfoEntity> getSkusBySpuId(Long spuId);

    SkuItemVo itemInfo(Long skuId);

    SkuInfoEntity getSkuInfo(Long skuId);
}

